package cn.kgc.service;

import cn.kgc.vo.*;


import java.util.List;

public interface HomeService {
    //查询首页轮播图
    public List<HotItemVo> queryBanner() throws Exception;

    //获取所有的商品分类
    public List<HomeItemTypeVo> queryAllType() throws Exception;

    //获取首页横向导航数据
    public List<List<ItemTransverseTypeVo>> queryTransverse() throws Exception;

    // 今日推荐
    public List<HotItemsVo> queryTodayRecommend() throws Exception;

    //即将开售
    public List<HotItemsVo> queryToSaleItem() throws Exception;

    //首页返回不同楼层展示数据
    public  List<ItemFloorLevelVo> queryFloorItems() throws Exception;

    //不同分类排行
    public List<HomeItemRangVo> queryHotItems(Integer itemTypeId) throws Exception;

    //根据token返回用户信息
    public List<ItemCurrentUserByTokenVo> loadCurrentUserByToken();
}
